project (AnsiBStrTestNative)
include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake")
set(SOURCES AnsiBStrTestNative.cpp)

# add the executable
add_library (AnsiBStrTestNative SHARED ${SOURCES})

if(CLR_CMAKE_HOST_WIN32)
    list(APPEND LINK_LIBRARIES_ADDITIONAL
        OleAut32.lib
    )
endif(CLR_CMAKE_HOST_WIN32)

target_link_libraries(AnsiBStrTestNative PRIVATE ${LINK_LIBRARIES_ADDITIONAL})

# add the install targets
install (TARGETS AnsiBStrTestNative DESTINATION bin)
